using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace SmartContentUI.Query
{
    public partial class Filter : UserControl
    {

        public delegate void Filtrate(string creator, DateTime date);
        public event Filtrate ToFilter;

        public Filter()
        {
            InitializeComponent();
            creationTime.clearData();
        }

        private void findBtn_Click(object sender, EventArgs e)
        {
            ToFilter(this.creatorTB.Text, this.creationTime.Value);
        }

        
    }
}
